package com.zyf.pattern.decorator.passport.upgrede;

import com.zyf.pattern.decorator.passport.old.ISiginService;
import com.zyf.pattern.decorator.passport.old.ResultMsg;

/**
 * old包下为老系统，upgrede包下为新系统，使用适配器模式实现
 * create by yifeng
 */
public interface ISigninForThirdService extends ISiginService {


    public ResultMsg loginForQQ(String openId);

    public ResultMsg loginForWechat(String openId);

    public ResultMsg loginForToken(String token) ;

    public ResultMsg loginForTelphone(String telphone);

    public ResultMsg loginForRegist(String username, String password);

}
